package com.sxit.tdf.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sxit.tdf.server.entity.FileApprove;
import com.sxit.tdf.server.entity.bo.FileApproveInfoBo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Mapper 接口
 *
 * @author 橙子高
 * @since 2022-03-19
 */
public interface FileApproveMapper extends BaseMapper<FileApprove> {
  List<FileApproveInfoBo> getPrivateApproveFileList(@Param("id") String id);

  void cancelFileApprove(@Param("fileId") String fileId, @Param("id") String id);

  List<FileApproveInfoBo> getDeptApproverList(@Param("deptId") Integer deptId);
}
